//package qyf.example.eurekaclientelsaticsearch.controller;
//
//import com.alibaba.nacos.api.config.annotation.NacosValue;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RequestMethod;
//import org.springframework.web.bind.annotation.RestController;
//
//@RestController
//@RequestMapping("config")
//public class ConfigController {
//
//    @NacosValue(value = "${useLocalCache:false}", autoRefreshed = true)
//    private boolean useLocalCache;
//
//    @RequestMapping(value = "/get", method = RequestMethod.GET)
//    public boolean get(){
//        return useLocalCache;
//    }
//}
//
